package com.znsd.exam.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.ExamPaperInfo;

public interface ExamPaperDao {
	//查询并分页
	public List<ExamPaperInfo> getList(Map<String, Object> map);
	//查询总数
	public Integer getCount(Map<String, Object> map);
	//查询单条数据
	public ExamPaperInfo getOne(@Param("examPaperId")Integer examPaperId);
	//增加
	public Integer examPaperAdd(ExamPaperInfo examPaper);
	//修改
	public Integer examPaperUpdate(ExamPaperInfo examPaper);
	//删除
	public Integer examPaperDelete(@Param("examPaperId")Integer examPaperId);
	
	public List<ExamPaperInfo> getExamPapersClear();
}
